<%-- 
    Document   : employeelist
    Created on : Mar 6, 2012, 7:43:43 PM
    Author     : hashcode
--%>
<%--<%@page import="bkt.model.Employee"%>--%>
<%@page import="org.springframework.context.annotation.Import"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

      
        <h1>Employee list!</h1>
        the number of emplee is : ${employeecount}
        <select name="userSelect">
        <c:forEach items="${Employeelist}" var="employee">
            <option> <c:out value="${employee.empName}"/> </option>
        </c:forEach>
        </select>  
        

        <table border="1">
            <tr><th>Name</th><th>Surname</th><th>Email</th><th>Password</th></tr>
            <c:forEach items="${Employeelist}" var="employee">
            <tr> 
                <td><c:out value="${employee.empName}"/> </td>
                <td><c:out value="${employee.empSurname}"/> </td>
                <td><c:out value="${employee.empEmail}"/> </td>
                <td><c:out value="${employee.empPassword}"/> </td>
                
            </tr>
        </c:forEach>
        </table>   

    